Optimal. Leaf size=20 \[ \frac {x^{1+p} (b+c x)^{1+p}}{1+p} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {75}
\begin {gather*} \frac {x^{p+1} (b+c x)^{p+1}}{p+1} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 75
Rubi steps
\begin {align*} \int x^p (b+c x)^p (b+2 c x) \, dx &=\frac {x^{1+p} (b+c x)^{1+p}}{1+p}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 20, normalized size = 1.00 \begin {gather*} \frac {x^{1+p} (b+c x)^{1+p}}{1+p} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.32, size = 21, normalized size = 1.05
method | result | size |
gosper | \(\frac {x^{1+p} \left (c x +b \right )^{1+p}}{1+p}\) | \(21\) |
risch | \(\frac {x \left (c x +b \right ) x^{p} \left (c x +b \right )^{p}}{1+p}\) | \(23\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 29, normalized size = 1.45 \begin {gather*} \frac {{\left (c x^{2} + b x\right )} e^{\left (p \log \left (c x + b\right ) + p \log \left (x\right )\right )}}{p + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.10, size = 25, normalized size = 1.25 \begin {gather*} \frac {{\left (c x^{2} + b x\right )} {\left (c x + b\right )}^{p} x^{p}}{p + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 46 vs.
\(2 (15) = 30\).
time = 1.01, size = 46, normalized size = 2.30 \begin {gather*} \begin {cases} \frac {b x x^{p} \left (b + c x\right )^{p}}{p + 1} + \frac {c x^{2} x^{p} \left (b + c x\right )^{p}}{p + 1} & \text {for}\: p \neq -1 \\\log {\left (x \right )} + \log {\left (\frac {b}{c} + x \right )} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.12, size = 35, normalized size = 1.75 \begin {gather*} \frac {{\left (c x + b\right )}^{p} c x^{2} x^{p} + {\left (c x + b\right )}^{p} b x x^{p}}{p + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.80, size = 22, normalized size = 1.10 \begin {gather*} \frac {x\,x^p\,{\left (b+c\,x\right )}^p\,\left (b+c\,x\right )}{p+1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________